package com.zhentao.api.article;

import com.zhentao.model.article.dto.ArticleDto;
import com.zhentao.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Date 2024/5/17 10:29
 * @Author xdm
 **/

@FeignClient(value  ="leadnews-article")
public interface ArticleClientApi {

    @PostMapping("/api/v1/article/save")
    public ResponseResult saveArticle(@RequestBody  ArticleDto dto);
}
